This is nothing.
In [0]:
This does nothing.
In [1]:
from IPython import display
This is an execute_result
.
In [2]:
1 + 1
Out[2]:
This is a stdout
stream.
In [3]:
print(1 + 1)
This is an execute_result
and a stdout
.
In [4]:
print(1 + 1)
1 + 1
Out[4]:
This is a stderr
.
In [5]:
0 / 0
This is stderr
and stdout
.
In [6]:
print(1 + 1)
0/0
This is some HTML.
In [7]:
display.HTML("<h1>Some HTML</h1>")
Out[7]:
This uses multiple displays
.
In [8]:
display.display(display.HTML("<h1>Some Other HTML</h1>"))
display.display(display.HTML("<h2>Yet Other HTML</h2>"))
In [9]:
def test_a_thing():
assert 1 == 0
test_a_thing()